package com.jia.train.seat.mapper;

import com.jia.train.seat.entity.DailyTripStation;
import com.jia.train.seat.entity.DailyTripStationExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DailyTripStationMapper {
    long countByExample(DailyTripStationExample example);

    int deleteByExample(DailyTripStationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DailyTripStation record);

    int batchInsert(@Param("list") List<DailyTripStation> list);

    int insertSelective(DailyTripStation record);

    List<DailyTripStation> selectByExample(DailyTripStationExample example);

    DailyTripStation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DailyTripStation record, @Param("example") DailyTripStationExample example);

    int updateByExample(@Param("record") DailyTripStation record, @Param("example") DailyTripStationExample example);

    int updateByPrimaryKeySelective(DailyTripStation record);

    int updateByPrimaryKey(DailyTripStation record);
}